Skip to main content

ModifyBaseConfig

Description

modify the login security settings record.

Request Method

POST

Request Path

/apsara/route/aegis/ModifyBaseConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringYesNo sample value for this parameter.Common logon configuration record types. Valid values: login_common_location: indicates common login place login_common_ip: indicates common login IP login_common_time: indicates common login time login_common_account: indicates a common login account
TargetBODYstringNoNo sample value for this parameter.specifies the host asset. description this parameter needs to be specified when obtaining the login security configuration record of the specified asset. please refer to the request example for the specific format.
regionIdBODYstringYesNo sample value for this parameter.region id
ConfigBODYstringNoNo sample value for this parameter.login configuration record, for example: Common login address:{"location":"Ganzhou City"} common login IP:{"ip":"x.x.x"} common login time:{"startTime":"16:18","endTime":"16:18"} common login account:{"account":"dbaadmin"}
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}